<?php
// echo 'this file will ...';

// var_dump($_POST);

// echo "<pre>";

// print_r($_POST);

// echo "</pre>";

// echo $_GET['stuname'];

// var_dump($_REQUEST);



// // 写入数据

$handle = fopen("file.csv", "a");

$content = $_POST['stuname'] . ',' . $_POST['stunumber'] . ',' . $_POST['stuurl'] . "\n";
fwrite($handle, $content);
fclose($handle);

include 'view.php';